package com.wxapp.sale.api.pojo.vo.shopCart;

import com.wxapp.sale.api.enums.goods.GoodsBuyTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * Description
 *
 * @author lgl
 * DateTime  2024/2/1 9:51
 * Modified By
 */
@Data
public class QShopCartAddVo {
    /**
     * id
     */
    @Schema(description = "id")
    private String id;
    @Schema(description = "商品名称")
    private String name;
    /**
     * 副标题
     */
    @Schema(description = "副标题")
    private String subtitle;
    /**
     * 商品价格
     */
    @Schema(description = "商品价格")
    private BigDecimal price;
    /**
     * 商品小图地址
     */
    @Schema(description = "商品小图地址")
    private String imageUrl;
    /**
     * 商品数量
     */
    @Schema(description = "商品数量")
    private Integer goodsNum;
    /**
     * 商品库存
     */
    @Schema(description = "商品库存")
    private Integer  goodsTotalNum;
    /**
     * 商品规格id
     */
    @Schema(description = "商品规格id")
    private String specId;
    /**
     * 商品规格详情id
     */
    @Schema(description = "商品规格详情id")
    private String specDetailId;
    /**
     * 品牌id
     */
    @Schema(description = "品牌id")
    private String brandId;
    /**
     * 标签id
     */
    @Schema(description = "标签id")
    private String labelId;
    /**
     * 类型id
     */
    @Schema(description = "类型id")
    private String typeId;
    /**
     * 购买类型
     */
    @Schema(description = "购买类型")
    private GoodsBuyTypeEnum buyType;
    /**
     * 总价格
     */
    @Schema(description = "总价格")
    private BigDecimal totalPrice;
    /**
     * 类型详情名称
     */
    @Schema(description = "类型详情名称")
    private String specDetailName;
    /**
     * 类型名称
     */
    @Schema(description = "类型名称")
    private String specName;
}
